package com.weiyuwqj.api.model;

import javax.persistence.*;

@Table(name = "bus_platform_account_type")
public class BusPlatformAccountType {
    @Id
    private Integer id;

    @Column(name = "user_id")
    private Integer userId;

    /**
     * 账户类型:1-自有子账户；3手续费子账户；4-体验金子账户；5-抵用金子账户；6-加息金子账户；7-保证金子账户， 9-奖励金，10现金垫付，11--在途垫付
     */
    @Column(name = "account_type")
    private Integer accountType;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取账户类型:1-自有子账户；3手续费子账户；4-体验金子账户；5-抵用金子账户；6-加息金子账户；7-保证金子账户， 9-奖励金，10现金垫付，11--在途垫付
     *
     * @return account_type - 账户类型:1-自有子账户；3手续费子账户；4-体验金子账户；5-抵用金子账户；6-加息金子账户；7-保证金子账户， 9-奖励金，10现金垫付，11--在途垫付
     */
    public Integer getAccountType() {
        return accountType;
    }

    /**
     * 设置账户类型:1-自有子账户；3手续费子账户；4-体验金子账户；5-抵用金子账户；6-加息金子账户；7-保证金子账户， 9-奖励金，10现金垫付，11--在途垫付
     *
     * @param accountType 账户类型:1-自有子账户；3手续费子账户；4-体验金子账户；5-抵用金子账户；6-加息金子账户；7-保证金子账户， 9-奖励金，10现金垫付，11--在途垫付
     */
    public void setAccountType(Integer accountType) {
        this.accountType = accountType;
    }
}